Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Merged
merged 1 commit into from
Oct 27, 2015
Merged

npm:[email protected] #626

merged 1 commit into from
Oct 27, 2015

Conversation

teohhanhui
Copy link
Contributor

moment changed to use npm:moment as discussed in #613 and #616

Package override taken from moment/moment#2577

{
"directories": {
"lib": "src"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't encourage the use of directories.lib.

@guybedford guybedford mentioned this pull request Oct 20, 2015
@teohhanhui
Copy link
Contributor Author

@guybedford Unfortunately I'm having some trouble getting this to work. The jspm config in moment's package.json seems to be taking precedence over my local override.

{
  "files": [
    "src"
  ],
  "ignore": [
    "src/test/"
  ],
  "main": "src/moment"
}

This is my local override but I end up with only package.json file in the directory.

@teohhanhui
Copy link
Contributor Author

Uhh I've figured it out. The src directory is not part of the npm package.

@teohhanhui
Copy link
Contributor Author

I've realized that moment/moment#2577 is taking the wrong approach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants